package com.nubaseg.parser;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 * User: Nubaseg
 * Date: 20.10.13
 * Time: 2:43
 */
public abstract class Token {

    public static final Set<String> OPERATORS = new HashSet<String>(
            Arrays.asList("+", "-", "*", "/"));
    public enum TokenType {VALUE, OPERATOR, BRACKET};

    protected String value;

    protected Token(String value) {
        this.value = value;

    }

    public abstract TokenType getType();
}
